package com.hoshiicloud.user.service.organization;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.user.entity.organization.ComOrganizationCategory;

import java.util.List;

/**
 * @Author:campchen
 * @Date:Created in 下午 04:01 2019/8/21
 * @PACKAGENAME com.hoshiicloud.user.service.organization
 * @Description
 */
public interface ComOrganizationCategoryService extends IService<ComOrganizationCategory> {
    IPage<ComOrganizationCategory> getPage(IPage<ComOrganizationCategory> page, QueryWrapper<ComOrganizationCategory> queryWrapper, String key);

    ComOrganizationCategory getById(Long id);

    boolean save(ComOrganizationCategory entity);

    boolean updateById(ComOrganizationCategory entity);

    boolean insertCategory4ComOrganization(List<ComOrganizationCategory> comOrganizationCategories);

    boolean deletedByIds(List<Long> ids);
}
